<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<body>

<h:form id="mostrarEstForm">
	<p:dialog header="Estabelecimento:" id="modalEstabelecimento" widgetVar="modalEstabelecimento" width="400" height="400" modal="true">
	
		<p:panel>
		<h:panelGrid columns="4">
			<h:outputLabel styleClass="modalCliente" value="Estabelecimento: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.nome}" />
		</h:panelGrid>
		
		<h:panelGrid columns="4">	
				
			<h:outputLabel styleClass="modalCliente" value="Segmento: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.tipoEstabelecimento.nome}" />
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:panelGroup>
			<h:outputLabel styleClass="modalCliente" value="CNPJ: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.cnpj}" />
			</h:panelGroup>
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:panelGroup>
			<h:outputLabel styleClass="modalCliente" value="CEP "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.cep}" />
			</h:panelGroup>
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:outputLabel styleClass="modalCliente" value="Rua: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.rua}" />
		</h:panelGrid>
		
		<h:panelGrid columns="4">	
			<h:outputLabel styleClass="modalCliente" value="Bairro: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.bairro}" />
		</h:panelGrid>
		
		<h:panelGrid columns="2">			
			<h:outputLabel styleClass="modalCliente" value="Número: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.numero}" />
		</h:panelGrid>
		
		
		<h:panelGrid columns="4">
			<h:outputLabel styleClass="modalCliente" value="Cidade: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.cidade}" />
		</h:panelGrid>
		 
		<h:panelGrid columns="2">	
			<h:outputLabel styleClass="modalCliente" value="Estado: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.uf}" />
		</h:panelGrid>
		
		
		<h:panelGrid columns="4">
			<h:outputLabel styleClass="modalCliente" value="Tel. Res.: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.residencial}" />
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:outputLabel styleClass="modalCliente" value="Celular: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.celular}" />
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:outputLabel styleClass="modalCliente" value="Tel. Comercial: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.comercial}" />
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:outputLabel styleClass="modalCliente" value="Contato: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.contato}" />
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:outputLabel styleClass="modalCliente" value="Email: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.email}" />
		</h:panelGrid>
		
		<h:panelGrid columns="2">
			<h:outputLabel styleClass="modalCliente" value="WebSite: "></h:outputLabel>
			<h:outputText value="#{estabelecimentoMB.mostrarEstabelecimento.website}" />
		</h:panelGrid>
		
		 <fieldset>
		 	<legend><h:outputLabel styleClass="modalCliente" value="Obs.: "></h:outputLabel></legend>
			<h:panelGrid columns="2">
				<h:outputText value="#{clienteMB.mostrarCliente.observacao}" />
			</h:panelGrid>
		</fieldset>
		
		</p:panel>
	</p:dialog>
</h:form>	
</body>
</html>
